body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 20px;
    color: #333;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
    margin-right: 10px;
    font-size: 14px;
}

input[type="button"] {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="button"]:hover {
    background-color: #2980b9;
}

.pagination {
    margin: 20px 0;
    display: flex;
    gap: 5px;
    justify-content: center;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #3498db;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: #3498db;
    color: white;
}

.pagination .current-page {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination .disabled {
    color: #999;
    cursor: not-allowed;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #3498db;
    color: white;
}

tr:hover {
    background-color: #f5f5f5;
}

input[value="编辑"] {
    background-color: #27ae60;
}

input[value="编辑"]:hover {
    background-color: #219a52;
}

input[value="删除"] {
    background-color: #e74c3c;
}

input[value="删除"]:hover {
    background-color: #c0392b;
}

.table-container {
    overflow-x: auto;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

table {
    width: 100%;
    min-width: 1200px;
    table-layout: fixed;
}

th:nth-child(1),
td:nth-child(1) {
    width: 5%;
}

th:nth-child(2),
td:nth-child(2) {
    width: 20%;
}

th:nth-child(3),
td:nth-child(3) {
    width: 15%;
}

th:nth-child(4),
td:nth-child(4) {
    width: 10%;
}

th:nth-child(5),
td:nth-child(5) {
    width: 35%;
}

th:nth-child(6),
td:nth-child(6) {
    width: 15%;
}

td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
